﻿///<reference path="../../../Scripts/jquery-1.4.1-vsdoc.js"/>
///<reference path="../utils/Utils.js"/>

function ServerManager(isOnLine) {

    this.isOnLine = isOnLine;

    this.GetCoreItem = function (href, async, callback) {
        if (async != undefined && async)
            $.get(href, undefined, callback, "text");
        else {
            return ClarifyXmlDom(
            $.ajax({
                type: "GET",
                url: href,
                data: null,
                success: callback,
                async: false
            }).responseText);
        }
    }    

    this.GetUserData = function() {

    }

    this.SaveUserData = function () {

    }
}